﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="TrainingHourControl.ascx.vb" Inherits="WebForm_ManageMOIExport_TrainingHourControl" %>
<My:MyGridView ID="gv" runat="server" SkinID="pager" meta:resourcekey="gv" AllowPaging="True"
                AllowHoverSelect="False" DataKeyNames="VolunteerID"
                AllowHoverEffect="True" 
                MySortExpression="VolunteerID" >
                <Columns>
                    <asp:BoundField DataField="VolunteerName" meta:resourcekey="bfVolunteerName"  />
                      <My:VolunteerIDBoundField DataField="VolunteerID" meta:resourcekey="bfVolunteerID"
            ReadOnly="True" />
<%--                    <asp:BoundField DataField="VolunteerID" meta:resourcekey="bfVolunteerID"  />                    
--%>                    <asp:TemplateField meta:resourcekey="bfStartDate">
                        <itemtemplate>
                            <asp:Label runat="server" Text='<%# Bind("TrainingStartDate") %>' ID="lblStartDate"></asp:Label>
                        </itemtemplate>
                    </asp:TemplateField>
                    <asp:TemplateField meta:resourcekey="bfEndDate">
                        <itemtemplate>
                            <asp:Label runat="server" Text='<%# Bind("TrainingEndDate") %>' ID="lblEndDate"></asp:Label>
                        </itemtemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="TrainingOrg" meta:resourcekey="bfTrainingOrg" />
                    <asp:BoundField DataField="TrainingType" meta:resourcekey="bfTrainingType" />
                    <asp:BoundField DataField="CourseType" meta:resourcekey="bfCourseType" />
                    <asp:BoundField DataField="TrainTimes" meta:resourcekey="bfTrainTimes" />
                    <asp:BoundField DataField="TrainingHour" meta:resourcekey="bfTrainingHour" />
                    <asp:BoundField DataField="ApprovedNum" meta:resourcekey="bfApprovedNum" />
                    <asp:BoundField DataField="ApprovedDate" meta:resourcekey="bfApprovedDate" />
                    <asp:BoundField DataField="CourseName" meta:resourcekey="bfCourseName" />
                    <asp:BoundField DataField="Remark" meta:resourcekey="bfRemark" />
                </Columns>
            </My:MyGridView>